#ifndef OR_RULE_H
#define OR_RULE_H

#include "global.h"
#include "rule.h"
#include <vector>

namespace fouine
{

class OrRule : public RuleImpl
{
  public:
    OrRule(const std::vector<RuleId>&);
    virtual Likelihood match(const String&, StrId start, StrLen length, const Table& table) const;
  private:
    OrRule();
    std::vector<RuleId> _rule_ids;
};

}

#endif // OR_RULE_H